package com.li.springboard.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 *
 * 员工表
 */
@Data

public class Employee {
    private  Integer id;
    private  String lastName;
    private  String email;
    private int gender; //男 女
    private  Department department;
    private Date brith;


    public Employee(int i, String ee, String s, int i1, Department department1) {
        this.id = i;
        this.lastName = ee;
        this.email = s;
        this.gender = i1;
        this.department = department1;
        this.brith = new Date();

    }
}
